<template>
    <div class="ivu-table ivu-table-wrapper ivu-table ivu-table-border">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
            <thead>
                <tr>
                    <th class="ivu-table-column-left" v-for="item in columns">
                        <div class="ivu-table-cell"><span>{{ item.label }}</span></div>
                    </th>
                </tr>
            </thead>
            <tbody>
                <slot></slot>
            </tbody>
        </table>
    </div>
</template>
<script>
export default {
    props: ['columns'],
    data() {
        return {}
    }
}
</script>
<style lang="less" scoped>

</style>


